package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sto.pojo.PartnerVehicleTradeApproveHisVO;
import com.yunxi.sto.pojo.PartnerVehicleTradeApproveVO;
import com.yunxi.sto.pojo.PartnerVehicleTradeDetailListVO;
import com.yunxi.sto.pojo.PartnerVehicleTradeVO;

import java.util.ArrayList;
import java.util.List;

public class PartnerVehicleTradeDubboServiceMock implements  PartnerVehicleTradeDubboService {
    @Override
    public PartnerVehicleTradeVO getById(String id) throws Exception {
        PartnerVehicleTradeVO vo=  new PartnerVehicleTradeVO();
        vo.setTradeTitle("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(PartnerVehicleTradeVO partnerVehicleTradeVO, LoginInfo loginInfo) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<PartnerVehicleTradeVO> findPageByVO(PartnerVehicleTradeVO partnerVehicleTradeVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<PartnerVehicleTradeVO> page =  new   PageInfo<PartnerVehicleTradeVO>();
        List  list  =  new ArrayList();
        PartnerVehicleTradeVO vo =  new PartnerVehicleTradeVO();
        vo.setTradeTitle("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }

    @Override
    public PageInfo<PartnerVehicleTradeVO> saleFromManager(PartnerVehicleTradeVO partnerVehicleTradeVO, Integer pageNum, Integer pageSize, Integer approveType) throws Exception {
        PageInfo<PartnerVehicleTradeVO> page =  new   PageInfo<PartnerVehicleTradeVO>();
        List  list  =  new ArrayList();
        PartnerVehicleTradeVO vo =  new PartnerVehicleTradeVO();
        vo.setTradeTitle("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public PageInfo<PartnerVehicleTradeApproveHisVO> approveHis(PartnerVehicleTradeVO partnerVehicleTradeVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<PartnerVehicleTradeApproveHisVO> page =  new   PageInfo<PartnerVehicleTradeApproveHisVO>();
        List  list  =  new ArrayList();
        PartnerVehicleTradeApproveHisVO vo =  new PartnerVehicleTradeApproveHisVO();
        vo.setTradeTitle("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<PartnerVehicleTradeVO> partnerVehicleTradeVOList) throws Exception {

    }

    @Override
    public List listByVo(PartnerVehicleTradeVO partnerVehicleTradeVO) {
        List  list  =  new ArrayList();
        PartnerVehicleTradeApproveHisVO vo =  new PartnerVehicleTradeApproveHisVO();
        vo.setTradeTitle("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<PartnerVehicleTradeDetailListVO> detailList(String tradeId) throws Exception {
        List  list  =  new ArrayList();
        PartnerVehicleTradeDetailListVO vo =  new PartnerVehicleTradeDetailListVO();
        vo.setTradeDetailId("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void approve(PartnerVehicleTradeApproveVO partnerVehicleTradeApproveVO, LoginInfo loginInfo) throws Exception {

    }
}
